<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>WordsWithCheaters - WordsWithFriends Word Builder</title>
</head>
<body style="background-color:#fa3;text-align:center">
<div style="margin-bottom:26px;font-size:42px;color:#9ff;font-family:'comic sans ms',arial;font-weight:bold;font-style:italic;text-shadow:-3px 0 #00f,0 3px #00f,1px 0 black,0 -3px #000">WordsWithCheaters</div>
<input id="i" style="margin-bottom:26px;width:220;font-size:36px;font-weight:bold;text-transform:uppercase" onkeypress="setTimeout(function(){g(document.getElementById('i').value)},9)"/>
<div id="o" style="font-size:36px;font-weight:bold;font-family:arial"></div>
<div style="position:absolute;bottom:0;text-shadow:none;color:#000">&copy; C-Walt Solutions | <a style="color:#030" href="http://whatarethesescribbles.appspot.com">DrawSomething&nbsp;Solver</a> | <a style="color:#030" href="http://whatarethesescrambles.appspot.com">ScrambleWithFriends&nbsp;Solver</a> | <a style="color:#030" href="http://whatarethesescrabbles.appspot.com">WordsWithFriends&nbsp;Solver</a></div>
</body>
</html>
<script>(function(){
document.getElementById('i').value = ''

var z = function(x, y){return x > y ? 1 : x < y ? -1 : 0}

var sb = function(d, c){
	var cl = c.pop()
	if(cl !== '~')return s(d, c.concat(cl))
	var t = []
	for(var i=0; i<26; i++)
		t = t.concat(sb(d, c.concat(String.fromCharCode(65 + i)).sort()))
	return t
}
var s = function(d, c){
	if(!d)return []
	var l = []
	for(var i=0,il=d.length; i<il; i++){
		var x = [], m = false
		for(var j=0,jl=c.length; j<jl; j++){
			var t = z(c[j], d[i][0])
			if(t < 0)continue
			if(t > 0)break
			x = c.slice(0, j).concat(c.slice(j+1))
			m = true
			break
		}
		if(m)l = l.concat(d[i][1]).concat(x ? s(d[i][2], x) : [])
	}
	return l
};

var gc = {}, o = document.getElementById('o')
window.g = function(v){
	var t = v.toUpperCase().replace(/[^A-Z]/g, '~').split('').sort().join('')
	if(gc[t])return o.innerHTML = gc[t]
	var a = sb(d0, t.split('')).sort(function(a, b){return(
		z(b.length, a.length) ||
		z(a, b)
	)})
	for(var i=0,il=a.length; i<il; i++)
		a[i] += '<br/>' + (i<il-1 && a[i].length !== a[i+1].length ? '<br/>' : '')
	o.innerHTML = gc[t] = a.join('')
};

var t = document.createElement('script')
t.src = 'zynga.js'
document.head.appendChild(t)
})()</script>